package com.translate.web.constant;

/**
 * 编辑端状态
 */
public enum EditStatus {  
    // 待处理  
    PENDING((byte) 0, "待处理"),  
    // 处理中  
    PROCESSING((byte) 1, "处理中"),  
    // 已返稿  
    ARTICLE_RETURNED((byte) 2, "已返稿");  
  
    private final byte statusCode;  
    private final String description;  
  
    EditStatus(byte statusCode, String description) {  
        this.statusCode = statusCode;  
        this.description = description;  
    }  
  
    public byte getStatusCode() {  
        return statusCode;  
    }  
  
    public String getDescription() {  
        return description;  
    }  
}
